* lisp/buff-menu.el (Buffer-menu-group-sort-by): New defcustom.
authorJuri Linkov <juri@linkov.net>
Fri, 7 Jun 2024 16:57:07 +0000 (19:57 +0300)
committerJuri Linkov <juri@linkov.net>
Fri, 7 Jun 2024 16:57:07 +0000 (19:57 +0300)
commit9cd182dae8822e810b73b2c1c1c41955096bb2de
tree36e1cf309bec070d1e979f37ea796146a996095a
parent979365eef2f09e2c9d21cbf5ff0d350b210d4127
* lisp/buff-menu.el (Buffer-menu-group-sort-by): New defcustom.

(list-buffers--refresh): Use Buffer-menu-group-sort-by instead of the
hard-coded function (bug#70150).
(Buffer-menu-group-sort-alphabetically): New function as an option for
'Buffer-menu-group-sort-by'.
(list-buffers-noselect): Remove setting outline-minor-mode-use-buttons
to 'in-margins' that it not required for this feature to work correctly.

* lisp/emacs-lisp/tabulated-list.el (tabulated-list-groups-sort):
Add optional argument 'level'.
lisp/buff-menu.el
lisp/emacs-lisp/tabulated-list.el